package rest.home.entity;

import java.util.Date;

/**
 * @author 赵景赫
 * @create 2022 05 05 21:30
 * @describe
 */
public class Older {
    private Integer olderId;//老人编号
    private String olderName;//老人姓名
    private String olderGender;//老人性别
    private Long olderPhone;//老人手机号
    private String olderAddress;//老人家庭住址
    private Integer health;//身体状况
    private Date checkinDate;//入住日期
    private Integer roomId;//房间编号
    private Integer nurseId;//护理编号

    public Integer getOlderId() {
        return olderId;
    }

    public void setOlderId(Integer olderId) {
        this.olderId = olderId;
    }

    public String getOlderName() {
        return olderName;
    }

    public void setOlderName(String olderName) {
        this.olderName = olderName;
    }

    public String getOlderGender() {
        return olderGender;
    }

    public void setOlderGender(String olderGender) {
        this.olderGender = olderGender;
    }

    public Long getOlderPhone() {
        return olderPhone;
    }

    public void setOlderPhone(Long olderPhone) {
        this.olderPhone = olderPhone;
    }

    public String getOlderAddress() {
        return olderAddress;
    }

    public void setOlderAddress(String olderAddress) {
        this.olderAddress = olderAddress;
    }

    public Integer getHealth() {
        return health;
    }

    public void setHealth(Integer health) {
        this.health = health;
    }

    public Date getCheckinDate() {
        return checkinDate;
    }

    public void setCheckinDate(Date checkinDate) {
        this.checkinDate = checkinDate;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public Integer getNurseId() {
        return nurseId;
    }

    public void setNurseId(Integer nurseId) {
        this.nurseId = nurseId;
    }

    @Override
    public String toString() {
        return  "老人编号：" + olderId +
                ", 老人姓名：" + olderName +
                ", 老人性别：" + olderGender +
                ", 老人手机号：" + olderPhone +
                ", 老人家庭住址：" + olderAddress +
                ", 老人身体状况：" + health +
                ", 老人房间编号：" + checkinDate +
                ", 房间编号：" + roomId +
                ", 护工编号：" + nurseId + ';';
    }

    public Older(Integer olderId, String olderName, String olderGender, Long olderPhone, String olderAddress, Integer health, Date checkinDate, Integer roomId, Integer nurseId) {
        this.olderId = olderId;
        this.olderName = olderName;
        this.olderGender = olderGender;
        this.olderPhone = olderPhone;
        this.olderAddress = olderAddress;
        this.health = health;
        this.checkinDate = checkinDate;
        this.roomId = roomId;
        this.nurseId = nurseId;
    }

    public Older() {
    }
}
